export interface loginForm {
  username: string
  password: string
}
// interface dataType {
//   token?: string
//   message?: string
// }
export interface loginResponseData {
  code: number
  message: string
  data: string
  ok: boolean
}
export interface userInfo {
  routes: string[]
  buttons: string[]
  roles: string[]
  name: string
  avatar: string
}
// interface user {
//   checkUser: userInfo
// }
export interface userinfoResponseData {
  code: number
  message: string
  data: userInfo
  ok: boolean
}
export interface logoutResponseData {
  code: number
  message: string
  data: null
  ok: boolean
}
